package com.wellsantos.dgwt.home.client.view;

import com.google.gwt.user.client.ui.Widget;
import com.googlecode.dgwt.client.dijit.HTML;


public class WelcomeView extends BaseView {

	/*
	 * TODO(wellsantos): por em arquivo HTML e carregar usando ContentPanel
	 */
	
	private HTML mainPanel = new HTML(
			"Seja bem vindo! " +
			"<br /> " +
			"Este site tem o intuito de testar as Widgets " +
			"<br /> " +
			"do framework Dojo para GWT (DGWT).");
	
	
	@Override
	public String getTitle() {
		return MESSAGE_RESOURCES.labelWelcome();
	}

	@Override
	public Widget getWidget() {
		return mainPanel;
	}

	@Override
	public boolean isBetterCentered() {
		return true;
	}

}
